* {
    margin: 0;
    padding: 0;
}


/* 4月4日把网站设置成灰色 */

html {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: progid: DXImageTransform.Microsoft.BasicImage(grayscale=1);
    -webkit-filter: grayscale(1);
}

a {
    text-decoration: none;
}

h1 {
    font-size: 45px;
}

ul {
    list-style: none;
}


/* 背景图样式 */

.bgc {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 1000px;
    z-index: -10;
    zoom: 1;
    background-color: #fff;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-position: center 0;
}


/* header */

header {
    width: 720px;
    height: 44px;
    margin: 100px auto 50px;
}

header .searchPic {
    float: left;
    width: 120px;
    height: 44px;
}

header .searchPic li.active {
    display: inline-block;
}

header .searchPic li:nth-child(1) img {
    width: 120px;
    height: 44px;
    /* padding: 2.5px 0; */
}

header .searchBar {
    float: right;
    width: 580px;
    height: 44px;
    border-radius: 24px;
    position: relative;
    background: #fff;
}

header .searchBar:hover {
    box-shadow: 0 1px 6px 0 rgba(32, 33, 36, 0.28);
    border-color: rgba(223, 225, 229, 0);
}

.searchBar input {
    position: absolute;
    left: 15px;
    top: 10%;
    width: 505px;
    height: 80%;
    border: none;
    outline: none;
}

.searchBar .searchBtn {
    position: absolute;
    right: 20px;
    top: 7px;
    width: 30px;
    height: 30px;
    background: url(../img/search.png) center center no-repeat;
    cursor: pointer;
    border: none;
    outline: none;
}


/* main */

.wrapper div {
    width: 850px;
    margin: 0 auto;
    text-align: center;
}

.wrapper .kbd_wrapper {
    display: inline-block;
    vertical-align: top;
    width: 65px;
    height: 55px;
    border-radius: 7px;
    margin: 6px;
    box-shadow: 0 4px 3px 0 #3C3C3D, 0 0 1px 0 #3C3C3D;
    text-align: center;
}

.wrapper kbd {
    position: relative;
    display: inline-block;
    width: 65px;
    height: 50px;
    background: linear-gradient(to bottom, #fff 0%, #fff 70%, #f3f3f3 100%);
    border-radius: 7px;
    box-shadow: 0 5px 0 0 #767d81;
    color: #767D81;
    font-family: Helvetical;
    vertical-align: top;
    line-height: 50px;
    text-transform: uppercase;
    font-weight: bold;
    transition: all .2s linear;
}

.wrapper .kbd_wrapper:hover {
    cursor: pointer;
    animation: shake 0.82s cubic-bezier(.36, .07, .19, .97) both;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.wrapper kbd>button {
    display: none;
    position: absolute;
    right: 2px;
    bottom: 2px;
    font-size: 12px;
    width: 16px;
    height: 16px;
    border-radius: 5px;
    border: none;
    outline: none;
    color: #333;
    cursor: pointer;
}

.wrapper kbd:hover>button {
    display: inline-block;
}

.wrapper kbd>button:hover {
    background: #806605;
    color: #fff;
}

.key img {
    width: 16px;
    height: 16px;
    position: absolute;
    left: 4px;
    bottom: 2px;
}

@keyframes shake {
    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }
    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }
    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }
    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}


/* footer */

footer {
    color: #fbe65a;
    width: 390px;
    margin: 50px auto 0;
}

footer h3 {
    margin-bottom: 10px;
}

footer .tips-content li {
    padding: 3px 0;
}